package com.mop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@TableName("reward")
public class Reward  extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String department;
    private String position;
    private String way;
    private String cause;
    private String date;
    @TableField(exist = false)
    private List<ItemDepartment> itemDepartments;
    private List<ItemPosition>itemPositions;
}
